/**
 * Created with CLion.
 * Description:
 * User: loong
 * Date: 2024/3/12
 * Time: 9:29
 */

#ifndef CES_CONTENT_H
#define CES_CONTENT_H
#include "IContext.h"

namespace CES::Internal {
    class Content : public Core::IContext {
    public:
        Content() = default;

        ~Content() override;

        void RegistryService(const QString &_serviceId, Core::IServiceSPtr _service) override;

        void UnRegistryService(const QString &_serviceId) override;

        Core::IServiceSPtr GetService(const QString &_serviceId) override;

    private:
        QMap<QString, Core::IServiceSPtr> allService_;
    };
} // namespace CES::Internal


#endif//CES_CONTENT_H
